net/http.http2clientStream.bytesRemain (field)
8 uses
net/http (current package)
h2_bundle.go#L7461: bytesRemain int64 // -1 means unknown; owned by transportResponseBody.Read
h2_bundle.go#L9568: cs.bytesRemain = res.ContentLength
h2_bundle.go#L9623: if cs.bytesRemain != -1 {
h2_bundle.go#L9624: if int64(n) > cs.bytesRemain {
h2_bundle.go#L9625: n = int(cs.bytesRemain)
h2_bundle.go#L9631: return int(cs.bytesRemain), err
h2_bundle.go#L9633: cs.bytesRemain -= int64(n)
h2_bundle.go#L9634: if err == io.EOF && cs.bytesRemain > 0 {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |